<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>top</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
	body {
		background: #4682B4; 
	}
	a {
		text-transform:none;
		text-decoration:none;
	} 
	a:hover {
		text-decoration:underline;
	}
</style>
  </head>
  
  <body>
 <script type="text/javascript"  src="../../js/time.js"> </script>
  <script type="text/javascript"  src="../../js/term.js"> </script>
  <script type="text/javascript">
    window.onload = function(){
	setInterval(function(){
		showTime();
		showTerm();
	},1000);
};
  </script>
  <div id="id" style="border:1px solid black;margin: 3px"> 
    <div id="showtime" style="height:20px;float:left"></div>
    <div id="showterm" style="height:20px;float:right"></div>
    <div id="id4" style="clear:both"></div> 
	</div>
<h1 style="text-align: center;margin: 3px">教学质量监测系统</h1>
<div style="font-size: 10pt">
<c:choose>
	<c:when test="${empty sessionScope.session_teacher }">
		<a href="<c:url value='/jsps/login/teacherlogin.jsp'/>" target="_parent">教师登录</a> |&nbsp; 
		<a href="<c:url value='/jsps/login/teacherregist.jsp'/>" target="_parent">教师注册</a>
	</c:when>
	<c:otherwise>
		您好：${sessionScope.session_teacher.tname }&nbsp;&nbsp;|&nbsp;&nbsp;
		<a href="<c:url value="/teacher/quit"/>" target="_parent">退出</a>
	</c:otherwise>
</c:choose>


</div>
  </body>
</html>
